-- GENERATED SPELL FOR [Rumbling Exile] --


function spell0_2592(pUnit, Event) --@Ground Tremor,Self--
pUnit:FullCastSpellOnTarget(6524,pUnit)
pUnit:RegisterEvent('Sorts_2592', 2000, 1)
end

function Sorts_2592(pUnit, Event)
local choix_sorts_2592 = math.random(0, 0)
if choix_sorts_2592 == 0 then
pUnit:RegisterEvent('spell0_2592', 1, 1)
end
end

function mob2592_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2592', math.random(1500, 3000), 1)
end

function mob2592_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2592_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2592_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2592, 1, 'mob2592_Action')
RegisterUnitEvent(2592, 2, 'mob2592_Leave')
RegisterUnitEvent(2592, 3, 'mob2592_Kill')
RegisterUnitEvent(2592, 4, 'mob2592_Die')
